Titrated pain management